package com.smartcommunity.api.engine.fallBack;

import com.smartcommunity.api.engine.EngineApi;
import com.smartcommunity.bean.model.Result;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;
import java.util.Map;

@Component
@RequestMapping("fallback")
public class EngineApiFallBack implements EngineApi {

    @Override
    public Result uploadPerson(Map<String, Object> param) {
        return null;
    }

    @Override
    public Result uploadPersons(List<Map<String, Object>> persons) {
        return null;
    }

    @Override
    public Result deletePerson(Long personId) {
        return null;
    }

    @Override
    public Result deletePersons(List<Long> personIds) {
        return null;
    }

    @Override
    public Result getPersonByVids(Long... vids) {
        return null;
    }

    @Override
    public Result getVidPersonsByIdCard(String... idcards) {
        return null;
    }

    @Override
    public String hello() {
        return null;
    }

    @Override
    public Result binds(List<Map<String, Object>> infos) {
        return null;
    }

    @Override
    public Result unbinds(List<Map<String, Object>> infos) {
        return null;
    }

    @Override
    public Result<List<Map<String, Object>>> queryFaceRecords(Map<String, Object> fseSearchConditionObj) {
        Result<List<Map<String, Object>>> result = new Result<>();
        result.setResultCode(500);
        result.setResultMessage("查询engine faceFeature/queryFeatures 失败");
        return result;
    }

    @Override
    public Result<List<Map<String, Object>>> getPersonsByImage(Map<String, Object> param) {
    	return null;
    }

	@Override
	public Result<Map<String, Object>> searchVidsByUrl(Map<String, Object> param) {
		return null;
	}

    @Override
    public Result<String> getFeatureByFeatureId(String fid) {
        return null;
    }

    @Override
    public Result<Object> addSubject(Map<String, Object> condition) {
        return null;
    }

    @Override
    public Result<Object> deleteSubject(String subjectName) {
        return null;
    }

    @Override
    public Result<Object> addFacesByBase64(String subject, Map<String, Object> base64) {
        return null;
    }
}
